* {
	margin: 0;
	border: 0;
}

ul, li{
	list-style-type: none;
}

body {
	font-family:"Microsoft YaHei";
	max-height: 100%;
	background-color: #EBEBEB;
	overflow:hidden;
	color:#000000;
}

.top {
	width: 100%;
	height: 8%;
	z-index: 1000;
	background-color: #444444;
	text-align: center;
	color:#ffffff
}

.mid {
	max-height: calc(100vh - 120px);
	overflow-x: hidden;
	overflow-y: scroll;
}

.mid-body {
	padding: 0 10px;
	padding-bottom: 30px;
}

.vmargin {
	margin-bottom: 28vh;
}

.chat-left {
	width: 100%;
	min-height: 50px;
	padding: 10px 0;
	text-align: left;
}

.chat-left .userimg{
	width: 50px;
	float: left;
	height: 50px;
	border-radius: 50%;
}

.chat-left .msg-word{
	margin-left: 5%;
	padding: 15px;
	float: left;
	max-width: 60%;
	background-color: #ffffff;
	border-radius: 10px;
	position: relative;
}

.chat-left .msg-word:before {
	content:"";
	position: absolute;
	right: 100%;
	top: 10px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-right: 12px solid #ffffff;
	border-bottom: 6px solid transparent;
}


.chat-mid {
	padding: 5px;
	width: 100%;
	height: 30px;
	line-height: 30px;
}

.chat-mid .time {
	font-size: 10px;
	color: #999;
	text-align: center;
}


.chat-right {
	text-align: right;
	width: 100%;
	min-height: 50px;
	padding: 10px 0;
}

.chat-right .userimg{
	width: 50px;
	float: right;
	height: 50px;
	border-radius: 50%;
}

.chat-right .msg-word {
	margin-right: 5%;
	padding: 15px;
	float: right;
	max-width: 60%;
	border-radius: 10px;
	background-color: #41B883;
	position:relative;
}

.showBigImg {

	width: 100vw;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	filter: alpha(opacity=100);
	opacity:1;
	-moz-opacity:1;
	background-color: #222;
	z-index: 9999;
}

.bigImgDiv {
	width: 100vw;
	height: 100vh;
	z-index:10000;
	text-align: center;
	overflow: hidden;
	font-size: 0;
}

.bigImgDiv::after{
	content: "";
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}

.bigImg {
	width: 100vw;
	height: auto;
	z-index:10000;
	vertical-align: middle;
}

.chat-right .msg-word:before {
	content:"";
	position: absolute;
	left: 100%;
	top: 10px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-left: 12px solid #41B883;
	border-bottom: 6px solid transparent;
}

.imgMin {
	margin-right: 5%;
	padding: 15px;
	max-width: 60%;
	border-radius: 10px;
	position:relative;
}

.imgMax {
	width:100vw;
	max-width:100vw;
	height:auto;
}

.foot {
	width: 100%;
	/*height: 8%;*/
	position: fixed;
	z-index: 1000;
	background-color: #F5F5F7;
	bottom: 0;
	left: 0;
	text-align: center;
	color:#ffffff
}

.foot .foot-body {
	text-align: left;
	padding: 1% 4%;
}

.foot .inputText {
	width: 60%;
	height: calc(6vh);
	padding-left: 2px;
}

.foot .inputSend {
	margin-left: calc(2vw);
	width: 15%;
	height: calc(6vh);
}

.chooseImg {
	padding:2vh 5vw;
	text-align: left;
	width: 100vw;
	height: 28vh;
	border-top:1px solid #dddddd;
}

.upfilePhoto{
	position: relative;
	display: inline-block;
	background: #D0EEFF;
	border: 1px solid #99D3F5;
	border-radius: 4px;
	padding: 4px 12px;
	overflow: hidden;
	color: #1E88C7;
	text-decoration: none;
	text-indent: 0;
	line-height: 8vh;
}

.upfilePhoto input {
	position: absolute;
	font-size: 60px;
	right: 0;
	top: 0;
	opacity: 0;
}
.upfilePhoto:hover {
	background: #AADFFD;
	border-color: #78C3F3;
	color: #004974;
	text-decoration: none;
}
